package com.factory.method.pattern.service.impl;

import com.factory.method.pattern.service.IFactory;
import com.factory.method.pattern.service.IProduct;

/**
 * @author chenchen
 * @description
 * @date 2023/11/14 10:59
 */
public class ComputerFactory implements IFactory {
    @Override
    public IProduct getProduct() {
        // 工厂标准方法中，完成指定产品对象的构建
        return new ComputerProduct();
    }
}
